#if !defined(AFX_SOCKETESCUCHA_H__A9675725_0A15_11D4_9EF2_00201857C47B__INCLUDED_)
#define AFX_SOCKETESCUCHA_H__A9675725_0A15_11D4_9EF2_00201857C47B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SocketEscucha.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSocketEscucha command target

class CMainFrame;

class CSocketEscucha : public CAsyncSocket
{
// Attributes
public:

// Operations
public:
	CSocketEscucha();
	virtual ~CSocketEscucha();

// Overrides
public:
	BOOL IniciaEscucha(CMainFrame *pFrame, UINT nPort);
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSocketEscucha)
	virtual void OnAccept( int nErrorCode );
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CSocketEscucha)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:
	CMainFrame	*m_pFrame;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SOCKETESCUCHA_H__A9675725_0A15_11D4_9EF2_00201857C47B__INCLUDED_)
